package puzzle.slilin2.data;

/**
 * セル状態を表す抽象クラス。
 * 
 * @author tomoto
 */
public abstract class CellState {
	protected boolean m_isDirty;
	
	public boolean isDirty() {
		return m_isDirty;
	}
	
	public void setDirty(boolean isDirty) {
		m_isDirty = isDirty;
	}
	
	public void copyFrom(CellState s) {
		m_isDirty = s.m_isDirty;
	}
	
	public abstract CellState dup();

}
